package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author Yami
 */
@Data
@TableName("tz_vr_scene")
public class VrScene implements Serializable {
    private static final long serialVersionUID = 6222259729062826852L;

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 场景名称
     */
    private String sceneName;

    /**
     * 描述
     */
    private String sceneDesc;

    /**
     * 经度
     */
    private Double latitude;

    /**
     * 经度
     */
    private Double longitude;

    /**
     *
     */
    private String status;

    /**
     *
     */
    private String qrcodeAddr;

    /**
     * 场景类型
     */
    private String sceneType;

    /**
     * 灯谜ID
     */
    private String queIds;

    /**
     * 场景主图
     */
    private String img;

    /**
     * 修改时间
     */

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 创建时间
     */

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private Long shopId;
    @TableField(exist = false)
    private List<VrSceneDetail> vrSceneDetailList;
    @TableField(exist = false)
    private SingleChoiceQue singleChoiceQue;
}
